<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改票券定时触发')" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
    <form class="form-horizontal m" id="form-task-edit" th:object="${freeTicketClickTask}">
        <input name="id" th:field="*{id}" type="hidden">
        <!--<div class="col-xs-12">
            <div class="form-group">
                <label class="col-sm-3 control-label is-required">会员id：</label>
                <div class="col-sm-8">
                    <input name="memberId" th:field="*{memberId}" class="form-control" type="text" required>
                </div>
            </div>
        </div>-->
        <div class="col-xs-12">
            <div class="form-group">
                <label class="col-sm-3 control-label is-required">会员电话：</label>
                <div class="col-sm-8">
                    <input name="memberPhone" th:field="*{memberPhone}" class="form-control" type="text" disabled required>
                </div>
            </div>
        </div>
        <!--<div class="col-xs-12">
            <div class="form-group">
                <label class="col-sm-3 control-label is-required">票券id：</label>
                <div class="col-sm-8">
                    <input name="ticketId" th:field="*{ticketId}" class="form-control" type="text" required>
                </div>
            </div>
        </div>-->
        <div class="col-xs-12">
            <div class="form-group">
                <label class="col-sm-3 control-label">票券名称：</label>
                <div class="col-sm-8">
                    <input name="ticketName" th:field="*{ticketName}" class="form-control" disabled type="text">
                </div>
            </div>
        </div>
        <!--<div class="col-xs-12">
            <div class="form-group">
                <label class="col-sm-3 control-label">任务id：</label>
                <div class="col-sm-8">
                    <input name="jobId" th:field="*{jobId}" class="form-control" type="text">
                </div>
            </div>
        </div>-->
        <div class="col-xs-12">
            <div class="form-group">
                <label class="col-sm-3 control-label is-required">任务名称：</label>
                <div class="col-sm-8">
                    <input name="jobName" th:field="*{jobName}" class="form-control" type="text" required>
                </div>
            </div>
        </div>
        <!--<div class="col-xs-12">
            <div class="form-group">
                <label class="col-sm-3 control-label">任务明细：</label>
                <div class="col-sm-8">
                    <input name="jobDetail" th:field="*{jobDetail}" class="form-control" type="text">
                </div>
            </div>
        </div>-->
        <div class="col-xs-12">
            <div class="form-group">
                <label class="col-sm-3 control-label">备注：</label>
                <div class="col-sm-8">
                    <textarea name="remark" class="form-control">[[*{remark}]]</textarea>
                </div>
            </div>
        </div>
    </form>
</div>
<th:block th:include="include :: footer" />
<script th:inline="javascript">
    var prefix = ctx + "system/task";
    $("#form-task-edit").validate({
        focusCleanup: true
    });

    function submitHandler() {
        if ($.validate.form()) {
            $.operate.save(prefix + "/edit", $('#form-task-edit').serialize());
        }
    }
</script>
</body>
</html>